*{
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.tab{
    width: 500px;
    height: 300px;
    margin: 100px auto;
    border: 1px solid #ccc;
}
.tab_list{
    height: 40px;
    background-color: #ccc;
}
.tab_list li{
    float: left;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
.tab_list .current{
    background-color: red;
    color: #fff
}
.item{
    display: none;
}